<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use Swagger\Annotations as SWG;

/**
 * @SWG\Resource(
 *   apiVersion="1.0.0",
 *   swaggerVersion="2.1",
 *   basePath="/",
 *   resourcePath="/pets",
 *   description="Pet操作",
 *   @SWG\Produces("application/json")
 * )
 */
class PetController extends Controller
{

    /**
     *
     * @SWG\Api(
     *   path="/pets",
     *   @SWG\Operation(
     *      method="GET",
     *      nickname="getAllPets",
     *      summary="获取所有pets",
     *      notes="",
     *      type="array", @SWG\Items("Pet"),
     *      @SWG\ResponseMessages(
     *          @SWG\ResponseMessage(code=404, message="未找到"),
     *          @SWG\ResponseMessage(code=200, message="成功")
     *      )
     *   )
     * )
     */
    public function index()
    {
        //
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        //
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        //
    }

    /**
     * @SWG\Api(
     *   path="/pets/{id}",
     *   @SWG\Operation(
     *     method="GET",
     *     summary="通过petId获取一个pet的信息",
     *     notes="",
     *     type="Pet",
     *     nickname="getPetByPetId",
     *      @SWG\Parameter(
     *       name="id",
     *       description="id中的一个",
     *       required=true,
     *       type="integer",
     *       paramType="path",
     *       allowMultiple=false
     *     ),
     *     @SWG\ResponseMessage(code=400, message="Invalid petId supplied"),
     *     @SWG\ResponseMessage(code=404, message="未找到"),
     *     @SWG\ResponseMessage(code=200, message="成功")
     *   )
     * )
     *
     * Display the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function show($id)
    {
        //
    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function edit($id)
    {
        //
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, $id)
    {
        //
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function destroy($id)
    {
        //
    }
}
